package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by Hyy on 2017/2/14.
 */

public class AllCityDataBean {
    /**
     * info : {"ok":true,"message":null,"errorCode":null}
     * data : {"allCityList":[{"id":110,"name":"北京市","childAreaList":[{"id":110100000000,"name":"北京市","childAreaList":null}]},{"id":120,"name":"天津市","childAreaList":[{"id":120100000000,"name":"天津市","childAreaList":null}]},{"id":130,"name":"河北省","childAreaList":[{"id":130300000000,"name":"秦皇岛市","childAreaList":null},{"id":130600000000,"name":"保定市","childAreaList":null}]},{"id":140,"name":"山西省","childAreaList":[{"id":140100000000,"name":"太原市","childAreaList":null},{"id":140500000000,"name":"晋城市","childAreaList":null}]},{"id":150,"name":"内蒙古自治区","childAreaList":[{"id":150100000000,"name":"呼和浩特市","childAreaList":null},{"id":150500000000,"name":"通辽市","childAreaList":null}]},{"id":210,"name":"辽宁省","childAreaList":[{"id":210100000000,"name":"沈阳市","childAreaList":null},{"id":210200000000,"name":"大连市","childAreaList":null},{"id":210300000000,"name":"鞍山市","childAreaList":null}]},{"id":220,"name":"吉林省","childAreaList":[{"id":220100000000,"name":"长春市","childAreaList":null},{"id":222400000000,"name":"延边朝鲜族自治州","childAreaList":null}]},{"id":230,"name":"黑龙江省","childAreaList":[{"id":230100000000,"name":"哈尔滨市","childAreaList":null},{"id":230200000000,"name":"齐齐哈尔市","childAreaList":null},{"id":230300000000,"name":"鸡西市","childAreaList":null},{"id":231000000000,"name":"牡丹江市","childAreaList":null}]},{"id":310,"name":"上海市","childAreaList":[{"id":310100000000,"name":"上海市","childAreaList":null}]},{"id":320,"name":"江苏省","childAreaList":[{"id":320100000000,"name":"南京市","childAreaList":null},{"id":320500000000,"name":"苏州市","childAreaList":null}]},{"id":330,"name":"浙江省","childAreaList":[{"id":330100000000,"name":"杭州市","childAreaList":null},{"id":330200000000,"name":"宁波市","childAreaList":null},{"id":330300000000,"name":"温州市","childAreaList":null},{"id":330500000000,"name":"湖州市","childAreaList":null},{"id":330700000000,"name":"金华市","childAreaList":null},{"id":331000000000,"name":"台州市","childAreaList":null}]},{"id":340,"name":"安徽省","childAreaList":[{"id":340700000000,"name":"铜陵市","childAreaList":null}]},{"id":350,"name":"福建省","childAreaList":[{"id":350200000000,"name":"厦门市","childAreaList":null},{"id":350400000000,"name":"三明市","childAreaList":null},{"id":350700000000,"name":"南平市","childAreaList":null}]},{"id":360,"name":"江西省","childAreaList":[{"id":360400000000,"name":"九江市","childAreaList":null}]},{"id":370,"name":"山东省","childAreaList":[{"id":370100000000,"name":"济南市","childAreaList":null},{"id":370200000000,"name":"青岛市","childAreaList":null},{"id":370300000000,"name":"淄博市","childAreaList":null},{"id":370600000000,"name":"烟台市","childAreaList":null},{"id":370800000000,"name":"济宁市","childAreaList":null},{"id":371000000000,"name":"威海市","childAreaList":null},{"id":371200000000,"name":"莱芜市","childAreaList":null},{"id":371500000000,"name":"聊城市","childAreaList":null}]},{"id":410,"name":"河南省","childAreaList":[{"id":410100000000,"name":"郑州市","childAreaList":null}]},{"id":420,"name":"湖北省","childAreaList":[{"id":420100000000,"name":"武汉市","childAreaList":null},{"id":420500000000,"name":"宜昌市","childAreaList":null},{"id":421300000000,"name":"随州市","childAreaList":null}]},{"id":430,"name":"湖南省","childAreaList":[{"id":430100000000,"name":"长沙市","childAreaList":null},{"id":430700000000,"name":"常德市","childAreaList":null}]},{"id":440,"name":"广东省","childAreaList":[{"id":440100000000,"name":"广州市","childAreaList":null},{"id":440300000000,"name":"深圳市","childAreaList":null},{"id":440600000000,"name":"佛山市","childAreaList":null},{"id":440800000000,"name":"湛江市","childAreaList":null},{"id":442000000000,"name":"中山市","childAreaList":null}]},{"id":460,"name":"海南省","childAreaList":[{"id":460100000000,"name":"海口市","childAreaList":null}]},{"id":510,"name":"四川省","childAreaList":[{"id":510100000000,"name":"成都市","childAreaList":null},{"id":510300000000,"name":"自贡市","childAreaList":null}]},{"id":520,"name":"贵州省","childAreaList":[{"id":520100000000,"name":"贵阳市","childAreaList":null}]},{"id":530,"name":"云南省","childAreaList":[{"id":530100000000,"name":"昆明市","childAreaList":null},{"id":530400000000,"name":"玉溪市","childAreaList":null}]},{"id":610,"name":"陕西省","childAreaList":[{"id":610100000000,"name":"西安市","childAreaList":null},{"id":610500000000,"name":"渭南市","childAreaList":null}]},{"id":620,"name":"甘肃省","childAreaList":[{"id":620100000000,"name":"兰州市","childAreaList":null}]}],"hotCityList":[{"cityId":110100000000,"cityName":"北京"},{"cityId":310100000000,"cityName":"上海"},{"cityId":440100000000,"cityName":"广州"},{"cityId":320100000000,"cityName":"南京"},{"cityId":430100000000,"cityName":"长沙"},{"cityId":370200000000,"cityName":"青岛"},{"cityId":120100000000,"cityName":"天津"},{"cityId":610100000000,"cityName":"西安"}]}
     */


    private List<AllCityListBean> allCityList;
    private List<HotCityListBean> hotCityList;

    public List<AllCityListBean> getAllCityList() {
        return allCityList;
    }

    public List<HotCityListBean> getHotCityList() {
        return hotCityList;
    }

    public void setAllCityList(List<AllCityListBean> allCityList) {
        this.allCityList = allCityList;
    }

    public void setHotCityList(List<HotCityListBean> hotCityList) {
        this.hotCityList = hotCityList;
    }

    public static class AllCityListBean {
        /**
         * id : 110
         * name : 北京市
         * childAreaList : [{"id":110100000000,"name":"北京市","childAreaList":null}]
         * <p>
         * isSelected 当前是否为选择状态
         */

        private boolean isSelected;

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        private int id;
        private String name;
        private List<ChildAreaListBean> childAreaList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ChildAreaListBean> getChildAreaList() {
            return childAreaList;
        }

        public void setChildAreaList(List<ChildAreaListBean> childAreaList) {
            this.childAreaList = childAreaList;
        }

        public static class ChildAreaListBean {
            /**
             * id : 110100000000
             * name : 北京市
             * childAreaList : null
             *
             */


            private long id;
            private String name;
            private Object childAreaList;

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getChildAreaList() {
                return childAreaList;
            }

            public void setChildAreaList(Object childAreaList) {
                this.childAreaList = childAreaList;
            }
        }
    }

    public static class HotCityListBean {
        /**
         * cityId : 110100000000
         * cityName : 北京
         */

        private long cityId;
        private String cityName;

        public long getCityId() {
            return cityId;
        }

        public void setCityId(long cityId) {
            this.cityId = cityId;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }
    }
}
